package com.gitee.neuray.security.admin.executor.qiyehao.mapper;

import com.gitee.neuray.security.admin.executor.qiyehao.entity.OrgDepartQyh;
import com.gitee.neuray.security.admin.executor.qiyehao.entity.OrgVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
@Mapper
public interface OrgDepartQyhMapper {
    void insertOrgDepartQyh(OrgDepartQyh orgDepartQyh);
    void delOrgDepartQyh (@Param("departIds") List<String> departIds);//删除关系表中企业号部门id中不存在的数据
    OrgVO selOrgByDepartId(String departId);
    OrgVO selOrgByOrgName(String name);
}
